#include <can.h>
#include "can_msgs/Frame.h"

void CAN_Send_Msg(int  id , int16_t id1 ,int16_t id2 , int16_t id3 , int16_t id4)
{

    can_msgs::Frame frame;

    frame.id = id;

    frame.dlc = 0x08;
    frame.data[0] = id1 >> 8;
    frame.data[1] = id1;
    frame.data[2] = id2 >> 8;
    frame.data[3] = id2;
    frame.data[4] = id3 >> 8;
    frame.data[5] = id3;
    frame.data[6] = id4 >> 8;
    frame.data[7] = id4;


}

